package com.gxa.shop.service.carousel;

import com.gxa.shop.bean.dto.Page;
import com.gxa.shop.bean.pojo.Carousel;

import java.util.List;

/**
 * com.gxa.shop.service.carousel
 * User: 刁彦侨
 * Date: 2024/12/19 10:18
 * motto:   逆水行舟不进则退
 * Description:
 * Version: V1.0
 */
public interface CarouselService {
    List<Carousel> getCarousels();

    List<Carousel> findByPage(Page page);

    boolean addCarousel(Carousel carousel);

    boolean updateCarousel(Carousel carousel);

    boolean deleteCarousel(Integer carouselId);

    Long findByTotal();
}
